﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ANMCMaster.Master" AutoEventWireup="true" CodeBehind="Events.aspx.cs" Inherits="AllNations.UI.Events" %>
<asp:Content ID="ANPageHeader1" runat="server" ContentPlaceHolderID="ANHeaderContent">
    <style type="text/css" media="all">
        #ANMCMainContent #ContentArea { margin: 0px !important; }
    </style>
</asp:Content>
<asp:Content ID="ANBodyContent1" runat="server" ContentPlaceHolderID="ANBodyContent">
    <telerik:RadScheduler runat="server" ID="RadScheduler1"
        Height="600px" ShowFooter="true" Skin="Sitefinity"
        DayStartTime="05:00:00" DayEndTime="22:00:00"
        FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday"
        EnableDescriptionField="false" SelectedView="WeekView"
        DataKeyField="event_id" DataDescriptionField="description_txt" 
        DataRecurrenceField="recurrence_settings" DataRecurrenceParentKeyField="parent_event_id"
        DataStartField="start_dttm" DataEndField="end_dttm" DataSubjectField="subject_txt"
        AppointmentStyleMode="Default">
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="Calendar" Text="Development" ApplyCssClass="rsCategoryPattern" BorderColor="#B0CC9B" />
            <telerik:ResourceStyleMapping Type="Calendar" Text="Marketing" ApplyCssClass="rsCategoryRed" />
            <telerik:ResourceStyleMapping Type="Calendar" Text="Work" BackColor="#edd5b7" BorderColor="#cdb597" />
        </ResourceStyles>
        <AppointmentTemplate>
            <div class="rsAptSubject">
                <%# Eval("Start", "{0:h:mmtt}").ToLower() %> <%# Eval("Subject") %>
            </div>
        </AppointmentTemplate>
    </telerik:RadScheduler>
</asp:Content>